package com.woniu.car.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.car.domain.TReceiver;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 收获地址表 Mapper 接口
 * </p>
 *
 * @author zhoubinbin
 * @since 2021-06-21
 */
public interface TReceiverMapper extends BaseMapper<TReceiver> {
    @Select("select * from t_receiver where user_id = #{userId}")
    List<TReceiver> selectReceiverByUserId(Integer userId);
}
